﻿using System;
using Microsoft.Xna.Framework.Graphics;

namespace Serious
{
    public static class Texture2DExt
    {
        public static Index2 GetSize(this Texture2D texture)
        {
            return new Index2(texture.Width, texture.Height);
        }
    }
}
